"use strict";
var rvc = require("../..");

var app = new rvc.App();
var static_res = rvc.static_res;
var view = rvc.view;
var session = rvc.session;
var fs = require("fs");


app.use(session);
app.use(view(__dirname + "/views"));

app.get("/num", function (req, res) {
    req.session = req.session || 0;
    req.session += 1;
    res.view("num.html", {title: "num page", num: req.session});
});

app.listen(3000);